package com.legstar.eci.xmi.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("type")
public class Type {

    @XStreamAsAttribute
    private String href;

    /** {@inheritDoc} */
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("[");
        sb.append("href" + ":'" + href + "'");
        sb.append("]");
        return sb.toString();
    }

    /**
     * @return the href
     */
    public String getHref() {
        return href;
    }

}
